<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<base href="<%=basePath%>">
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>${app.title }</title>
	<meta name="description" content="">
	<link href="static/css/Noday02.css" rel="stylesheet" type="text/css">
	<script src="static/js/jquery-1.6.1.js" type="text/javascript"></script>
	<script src="static/js/default.js" type="text/javascript"></script>
</head>

<body>
<!-- 顶部 -->
<div id="usrbar">
	<div class="left"><a href="#">Google</a><a href="#">Google</a></div>
	<c:choose>
	<c:when test="${user == null }">
	<!-- 顶部未登录 -->
		请&nbsp;<a href="${loginURL }">登陆</a>
	</c:when>
	<c:otherwise>
	<!-- 顶部已登录 -->
		欢迎你！，<a href="${user.email }" target="_blank"><strong>${user.email }</strong></a>
		<c:if test="${admin }">
			&nbsp;|&nbsp;<a href="NODAY.htm" target="_blank">管理</a>
		</c:if>
		&nbsp;|&nbsp;<a href="logout">退出</a>
	</c:otherwise>
	</c:choose>
</div>
<!-- 内容 -->
<div id="wrapper">
	<!-- 头部 -->
	<div id="header">
                <div class="logo"><a href="#"><img src="static/img/noday.png"></a></div>
	</div>
	<!--导航-->
    <div id="nav">
    	<!--导航右边-->
        <ul class="nav_aside">
            <li><a href="#">最新</a></li>
            <!-- 循环 -->
			<li><a href="#" style="*line-height:29px;">更多&gt;&gt;</a></li>
			<li></li>
        </ul>
        <!--导航左边-->
        <ul class="nav_main">
            <li style="background-image:none;"><a href="#">首页</a></li>
            <li><a href="#">国际</a></li>
            <!-- 
                                             普通<li><a href="#">国际</a></li>
                                             选中<li><div><a href="#">国内</a></div></li>
                                             新<li class="new"><a href="#">视频</a></li>
             -->
        </ul>
	</div>
	<!-- 导航下边 -->
	<div id="subnav">
        <h2><a href="#">&nbsp;</a></h2>
        <ul>
        <li><a href="#">时政要闻</a></li>
        <li class="sep"></li><li><a href="#">台湾</a></li>
        <!-- 循环 -->
        </ul>
        <div class="left-border"></div>
        <div class="right-border"></div>
        <div id="search">
			<form id="searchform" method="get" action="">
				<input type="text" class="s-text" value="dd" name="s" id="s" size="20" />
				<input type="submit" class="s-submit" value="" />
			</form>
		</div>
    </div>